package com.woniu.model.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 胡歌
 * @since 2024年05月28日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("y_refund")
public class YRefund implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "refund_id", type = IdType.AUTO)
    private Integer refundId;

    /**
     * 退款用户
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 退款订单号
     */
    @TableField("order_num")
    private String orderNum;

    /**
     * 退款原因
     */
    @TableField("refund_reason")
    private String refundReason;

    /**
     * 0.退款失败1.退款成功2.待退款
     */
    @TableField("refund_state")
    private Integer refundState;
    /**
     * 退款总价
     */
    @TableField("refund_price")
    private BigDecimal refundPrice;


}
